Repository navigation
chore: 依存ライブラリを React Compiler 互換 LTS までモダナイズ - #7
Merged
Merged
Conversation
- react / react-dom: 19.2.4 → 19.2.7 - typescript: 5.9.3 → 6.0.3 (現 latest) - vite: 8.0.3 → 8.1.0, @vitejs/plugin-react: 6.0.1 → 6.0.3 - @biomejs/biome: 2.4.9 → 2.5.1, @rolldown/plugin-babel: 0.2.2 → 0.2.3 - @types/react: 19.2.14 → 19.2.17, @types/node: 24.12.0 → 24.13.2 (LTS24系維持) - @babel/core: 7.29.0 → 7.29.7 (babel8 は React Compiler 非互換のため7系据え置き) @babel/core 8 / @types/node 26 は React Compiler 互換性・LTS の観点で意図的に見送り。 tsc -b (TS6) と vite build の成功を確認済み。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
biome migrate により以下を更新(挙動は同等): - $schema を 2.5.1 に追従 - linter.rules.recommended (非推奨) を preset: "recommended" へ移行 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Claude finished @HighBridgeDragon's task in 1m 10s —— View job PR レビュー
総評依存ライブラリの更新方針は明確で、PR 説明の根拠(babel@7 維持・@types/node@24 維持)も適切です。全体的に LGTM ですが、1点確認事項があります。 確認事項
|
| 項目 | 評価 |
|---|---|
react / react-dom 19.2.7 (patch) |
✅ |
vite 8.1.0 (minor) |
✅ |
@vitejs/plugin-react 6.0.3 (patch) |
✅ |
@biomejs/biome 2.5.1 (minor) |
✅ |
@rolldown/plugin-babel 0.2.3 (patch) |
✅ |
@types/react 19.2.17 (patch) |
✅ |
@types/node 24.13.2 (patch、LTS24 維持) |
✅ |
@babel/core 7.29.7(7 系据え置き) |
✅ babel-plugin-react-compiler@1.0.0 の @babel/types@^7 依存を考慮した適切な判断 |
biome.json の $schema 更新 |
✅ |
"recommended": true → "preset": "recommended" |
✅ Biome 2.5.1 の biome migrate による正しい変換 |
bun.lock の更新内容 |
✅ package.json の変更と整合 |
| "husky": "^9.1.7", | ||
| "typescript": "~5.9.3", | ||
| "vite": "^8.0.3" | ||
| "typescript": "^6.0.3", |
There was a problem hiding this comment.
バージョン指定子が ~5.9.3(パッチのみ)から ^6.0.3(マイナー・パッチを許容)に変わっています。TypeScript 6.1+ がリリースされると bun install で自動更新されます。意図的であれば問題ありませんが、~6.0.3 に据え置くことも選択肢です。
レビュー指摘対応。元テンプレートは TypeScript のみ ~ (パッチ固定) で運用しており、 TS はマイナー間でも型チェック挙動が変わるため自動マイナー更新を避ける方針を踏襲する。 ^6.0.3 → ~6.0.3。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Claude finished @HighBridgeDragon's task in 46s —— View job PR レビュー
総評前回の指摘( 全体的に LGTM です。 確認済み
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
package.jsonの依存ライブラリを、React Compiler が互換する範囲を上限として最新安定版へモダナイズしました。バージョンは npm registry の一次情報で確認しています。更新内容(依存)
tsc -b成功確認変更不要(最新): @types/babel__core 7.20.5 / @types/react-dom 19.2.3 / babel-plugin-react-compiler 1.0.0 / husky 9.1.7
意図的に見送ったメジャー
babel-plugin-react-compiler@1.0.0が@babel/types@^7.26.0に依存し、@types/babel__core に v8 が存在しないため React Compiler 非互換。7.29.7 据え置き。付随変更
biome.json:biome migrateで 2.5.1 へ追従($schema更新、recommended→preset: "recommended")。検証
bun run build(tsc -bTS6.0.3 +vite build)成功・型エラーなしbun run lint(biome 2.5.1)グリーン(Checked 11 files, 0 error)🤖 Generated with Claude Code